package com.fzu.mmdbproxyframework.context;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

import com.fzu.mmdbproxyframework.model.DBInterf;
import com.fzu.mmdbproxyframework.model.DataNode;
import com.fzu.mmdbproxyframework.model.DataSource;
import com.fzu.mmdbproxyframework.model.Table;
import com.fzu.mmdbproxyframework.model.VM;

public class ClusterContext {
	private List<DataNode> MMDataNodeList = new ArrayList<DataNode>();
	private  List<DBInterf> MMDBNodeList = new ArrayList<DBInterf>();//创建的内存数据库集群节点
	private  List<VM> VMList = new ArrayList<VM>();//创建的虚拟机集群节点
	private  List<DBInterf> SourceDBNodeList = new ArrayList<DBInterf>();//源数据库节点
	
	
	public  List<DBInterf> getMMDBNodeList() {
		return MMDBNodeList;
	}
	public  void setMMDBNodeList(List<DBInterf> mMDBNodeList) {
		MMDBNodeList = mMDBNodeList;
	}
	public  List<DBInterf> getSourceDBNodeList() {
		return SourceDBNodeList;
	}
	public  void setSourceDBNodeList(LinkedList<DBInterf> sourceDBNodeList) {
		SourceDBNodeList = sourceDBNodeList;
	}
	
	//获取源数据库的  master
	
	
	
	public  List<VM> getVMList() {
		return VMList;
	}

	public  void setVMList(List<VM> vMList) {
		VMList = vMList;
	}

	public List<DataNode> getMMDataNodeList() {
		return MMDataNodeList;
	}

	public void setMMDataNodeList(List<DataNode> mMDataNodeList) {
		MMDataNodeList = mMDataNodeList;
	}

	

}
